package com.dl.designmodel.adapter1;

import com.dl.designmodel.bridge1.Bag;

/**
 * @ProjectName: mcroservices
 * @Package: com.dl.designmodel.adapter1
 * @ClassName: BagAdapter
 * @Author: 86977
 * @Description: ${description}
 * @Date: 2021/6/28 17:03
 * @Version: 1.0
 */
public class BagAdapter implements BagColorTarget {
  private Bag bag;

  public BagAdapter(Bag bag) {
    this.bag = bag;
  }

  @Override
  public String getName() {

    return bag.getName();
  }
}
